﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Steve.UI.Models
{
    public sealed class SearchModel
    {
        [Required]
        [RegularExpression("^.{1,400}$")] /* len 1-400 */
        public string Query { get; set; }

        [DisplayName("Type")]
        [Required]
        public SearchType SearchType { get; set; }
    }
}
